home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 January / macformat-033.iso / mac / Education / Dorling Kindersley / Dictionary / DATA / Shared.Dir / 00334.ls < prev    next >
Encoding:
Text File  |  1995-04-25  |  618 b   |  24 lines

  1. on PCorMac eitherFN
  2.   if the machineType = 256 then
  3.     set type to "P"
  4.   else
  5.     set type to "M"
  6.   end if
  7.   put type into char length(eitherFN) - 4 of eitherFN
  8.   go("st", string(eitherFN))
  9. end
  10.  
  11. on GOER
  12.   if getAt(movielist, count(movielist)) = (count(movielist) - 1) then
  13.     set movieName to getAt(movielist, 1)
  14.     setAt(movielist, count(movielist), 1)
  15.   else
  16.     set x to 1 + getAt(movielist, count(movielist))
  17.     setAt(movielist, count(movielist), x)
  18.     set movieName to getAt(movielist, x)
  19.   end if
  20.   set moviename2 to "@:" & chars(movieName, 2, length(movieName))
  21.   put moviename2
  22.   go("st", moviename2)
  23. end
  24.